package com.cq.dao;

import com.cq.pojo.Building;
import com.cq.pojo.Dorm;

import java.util.List;

/**
 * @author lap
 * @version 1.0
 * @date 2021/8/15 13:59
 */
public interface BuildDao {
    List<Building> selectAllBuildName();

    List<Building> build_id(String build_Name);

    List<Dorm> selectAllDorm(Integer build_id);

    //添加宿舍楼
    int addBuilding(Building building);

    //修改宿舍楼信息
    int editBuilding(Building building);

    //根据id删除楼房
    int delBuilding(int build_id);

}
